package com.link.base.base.user.model;

import java.util.List;

/**
 * 用户自定义配置表格配置model映射类，
 * 因为前段传递的 id 是 uuid 字符串，所以这里不能够继承 BasicModel
 *
 * @author 韦胜健
 * @date 2019/2/18 11:54
 */
public class UserTableConfig {
    /**
     * 表格id
     */
    private String id;
    /**
     * 表格AutoOption中的tableId
     */
    private String tableId;
    /**
     * 表格所在导航页面的路径
     */
    private String path;

    /**
     * 表格标题
     */
    private String title;
    /**
     * 表格默认排序字段
     */
    private String sortField;
    /**
     * 表格默认排序方式
     */
    private Boolean sortDesc;
    /**
     * 表格默认搜索字段
     */
    private String searchField;

    private List<UserTableColumnConfig> columns;


    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public Boolean getSortDesc() {
        return sortDesc;
    }

    public void setSortDesc(Boolean sortDesc) {
        this.sortDesc = sortDesc;
    }

    public String getSearchField() {
        return searchField;
    }

    public void setSearchField(String searchField) {
        this.searchField = searchField;
    }

    public List<UserTableColumnConfig> getColumns() {
        return columns;
    }

    public void setColumns(List<UserTableColumnConfig> columns) {
        this.columns = columns;
    }
}
